/**
 * 文件描述: 项目管理路由文件
 * 作者: 苏宇浩
 * 时间: 2021/12/08
 */
import Layout from "@/layout";
const routes = [
    {
        path: "/projectManagement",
        name: "projectManagement",
        meta: {
            title: "项目管理",
            navShow: true,
            metaName: 'projectManagement',
        },
        component: Layout,
        redirect: '/projectManagement/projectList',
        children: [
            {
                path: "projectList",
                name: "projectList",
                meta: {
                    title: "项目列表",
                    navShow: true,
                    metaName: 'projectList'
                },
                component: () => import("@/views/projectManagement/projectList"),
            },
            {
                path: "projectDetail",
                name: "projectDetail",
                meta: {
                    title: "新建项目",
                    navShow: false,
                    metaName: 'projectDetail'
                },
                component: () => import("@/views/projectManagement/projectDetail"),
            },
            {
                path: "testProjectList",
                name: "testProjectList",
                meta: {
                    title: "测试项目列表",
                    navShow: true,
                    metaName: 'testProjectList'
                },
                component: () => import("@/views/projectManagement/testProjectList"),
            },
            {
                path: "testProjectDetail",
                name: "testProjectDetail",
                meta: {
                    title: "测试项目详情",
                    navShow: false,
                    metaName: 'testProjectDetail'
                },
                component: () => import("@/views/projectManagement/testProjectDetail"),
            },

        ]
    }
]
export default routes